<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>浏览器对象</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box
    }
    body {
      font-size: 14px;
      width: 100%;
      height: 100%;
      background: red;
      position: absolute;
      z-index: 99;
    }
    ul li {
      line-height: 30px;
    }
  </style>
</head>
<body>
  <ul>
    <li></li>
  </ul>
</body>
<script>
  console.log(window.screen.height);
  console.log(window.screen.colorDepth)
  console.log(document.body.clientHeight)
  console.log(window.navigator)
  for(var key in navigator) {
    console.log(`${key}: ${navigator[key]}`)
  }
  console.log(window.location)
  console.log(window.history)
</script>
</html>